package com.bicycle.rentalsystem.service.admin;

import com.bicycle.rentalsystem.pojo.admin.Administrators;
import com.bicycle.rentalsystem.pojo.admin.Page;

import java.util.List;

/**
 * @author Third uncle
 * @date 2022/11/22 - 14:26
 */
public interface AdminService {
    /**
     * 获取管理员列表
     * @return
     */
    public List<Administrators> getAdmins();

    void deleteAdmin(Integer id);

    Administrators getAdminById(Integer aId);

    void updateAdmin(Administrators admin);

    public Page<Administrators> page(Integer pageNo, Integer pageSize);

}
